package org.ysu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import org.ysu.entity.Family;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 贫困户表 服务类
 * </p>
 *
 * @author LiuJunDa
 * @since 2024-08-16
 */
public interface FamilyService extends IService<Family> {

    IPage<Family> list(Integer pageNo, Integer pageSize, Long rId,Long id);
    Boolean add(Long fId, String pName, String pNumber, Long rId, Long vcId, String province, String city,String county ,String township ,String village);
    Boolean check (String value,Long id,String field);
    Boolean update(Long fid, String pname, String pnumber, Long rid, String province, String city, String county, String township, String village);
    Integer count(long rId);
    Family getByIdWithHead(Long id);

}
